import { PropType } from "vue";
import { SizeType } from "./PropsType";
export default {
  checked: {
    type: Boolean as PropType<Boolean>,
    valueType: "Boolean",
    default: false,
    explanation: "指定当前是否选中，可以使用 v-model 双向绑定数据",
  },
  size: {
    type: String as PropType<SizeType>,
    valueType: "String",
    default: "default",
    explanation: "多选框大小",
    options: ["default", "large", "small"],
  },
  disabled: {
    type: Boolean,
    valueType: "Boolean",
    default: false,
    explanation: "是否禁用",
  },
  readonly: {
    type: Boolean,
    valueType: "Boolean",
    default: false,
    explanation: "是否只读",
  },
  value: {
    type: String || Number || undefined,
    valueType: "String | Number",
    explanation: "与 CheckboxGroup 组合使用",
  },
};
